<?php

include( "./admin/include/func.php");

$db = new db();
if ( ! $db->connect()) exit( mysql_error());

$g_page	= isset( $_GET['p']) ? strip_tags( $_GET['p']) : '';       

switch ($g_page) {
	case 'kiemeles':
		header ('Location: kiemeles.php');
	break;
	case 'linkcsere':
		include ('./utmutatok/linkcsere.php');
		$caption = 'Információ';
		$title   = 'Linkcsere';
		$height  = '350';
	break;
	case 'szabalyzat':
		include ('./utmutatok/szabalyzat.php');
		$caption = 'Információ';
		$title   = 'Linkcsere';
		$height  = '350';
	break;
}

?>

<?php include ("header.php"); ?>

<?php include ("top.php"); ?>

<?php include ("left.php"); ?>
							
<div id="middle">

	<div class="form-panel">		
		<div>
			<img src='./images1/x3a2.gif' width="21px" height="42px" class="fleft" alt='apróhirdetés' /> 
			<div class="hptop">
				<p class="hpcaption"><?php print $caption; ?></p>
				<p class="hptitle"><?php print $title; ?></p>
			</div>	
			<img src='./images1/x3b2.gif' width="21px" height="42px" class="fleft" alt='apróhirdetés' />
		</div>
		<div>
			<img src='./images1/x4a.gif' width="21px" height="13px" class="fleft" alt='apróhirdetés' /> 
			<img src='./images1/x4bg.gif' width="455px" height="13px" class="fleft" alt='apróhirdetés' /> 
			<img src='./images1/x4b.gif' width="21px" height="13px" class="fleft" alt='apróhirdetés' />
		</div>
		<div>
			<img src='./images1/x5bga.gif' width="21px" height="<?php print $height; ?>px" class="fleft" alt='apróhirdetés' /> 
			<div class="hpbody" style="height:<?php print $height; ?>px">
			<?php print $body; ?>
			</div>
			<img src='./images1/x5bgb.gif' width="21px" height="<?php print $height; ?>px" class="fleft" alt='apróhirdetés' />
		</div>
		<div>
			<img src='./images1/x6a.gif' width="21px" height="34px" class="fleft" alt='apróhirdetés' /> 
			<img src='./images1/x6bg.gif' width="455px" height="34px" class="fleft" alt='apróhirdetés' /> 		
			<img src='./images1/x6b.gif' width="21px" height="34px" class="fleft" alt='apróhirdetés' />
		</div>
	</div>

<br />

</div>

<?php include ("right.php"); ?>

<?php include ("footer.php"); ?>
